// 管理员的接口
import request from '../utils/request.js'


/* 获取管理员列表接口 */
export function getAdminList(data){
	return  request("/VueHandler/AdminHandler?action=show","get",data)
}
// 删除管理员
export function delAdminApi(tokenId){
	return request("/VueHandler/AdminHandler?action=delete","get",{tokenId:tokenId})
}
// 添加管理员
export function addAdminApi(data){
	return request("/VueHandler/AdminLoginAndRegHandler?action=add","post",data)
}